package com.yuyang.wifi.adapter;

import android.content.Context;
import android.text.TextUtils;
import android.widget.TextView;

import com.yuyang.wifi.R;
import com.yuyang.wifi.views.recyclerview.base.BaseQuickAdapter;
import com.yuyang.wifi.views.recyclerview.base.BaseViewHolder;

import java.util.List;


/**
 * created by mej
 * on 2020/7/31
 * 我的钱包-现金详情
 */
public class ApkAutoMsgAdapter extends BaseQuickAdapter<String> {

    private Context mContext;
    private TextView tvAddReduceNum;

    public ApkAutoMsgAdapter(Context context, int layoutResId, List<String> data) {
        super(layoutResId, data);
        mContext = context;
    }

    @Override
    protected void convert(BaseViewHolder helper, String msg) {
        if (!TextUtils.isEmpty(msg)) {
            TextView tvGameName = helper.getView(R.id.update_info);
            tvGameName.setText(msg);
        }
    }
}
